#!/bin/bash

total=0
count=1

while [ $count -le 100 ]
do
  let total=total+count
  let count++;
done

echo "result: $total"
